package io.demo.message.domain;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lijinting01
 */

@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class City implements Serializable {

  private static final long serialVersionUID = 8131059969909031653L;
  private Long id;

  private String name;

  /**
   * <pre>
   * The basis level of current administrative divisions.
   * In China, for example, a city is the 2nd ~ 3rd level of the administrative hierarchy.
   * </pre>
   */
  private AdminLevel adminLevel;

  private Area area;
}
